__author__ = 'root'
#coding = gb18030
a_str = 'abcdefghigk'
for i in range(len(a_str)):
    print a_str[0:i+1]